<template>
  <div>
    <el-tabs v-model="activeName"
             type="card"
             class="con">
      <el-tab-pane label="按医生等级设置"
                   name="1">
        <one v-if="activeName == 1"
             :object='object' />
      </el-tab-pane>
      <!-- <el-tab-pane label="个人主动健康管理包" name="2">
            <two v-if="activeName == 2" :object='object'/>
        </el-tab-pane>
        <el-tab-pane label="家庭主动健康随访包" name="3">
            <three v-if="activeName == 3" :object='object'/>
        </el-tab-pane> -->
    </el-tabs>
  </div>
</template>

<script>
import one from './one'
// import two from './two'
// import three from './three'
export default {
  data () {
    return {
      activeName: '1',
      object: {}
    }
  },
  components: {
    one,
    // two,three
  },
  methods: {
    handleClick () {

    }
  }
}
</script>

<style>
.con {
  margin-top: 20px;
}
</style>